package cn.labbook.bluetooth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode
public class BillingVerificationRecord {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 总交易单数.
     */
    private String totalRecord;
    /**
     * 应结订单总金额.
     */
    private String totalFee;
    /**
     * 退款总金额.
     */
    private String totalRefundFee;
    /**
     * 充值券退款总金额.
     */
    private String totalCouponFee;
    /**
     * 手续费总金额.
     */
    private String totalPoundageFee;
    /**
     * 订单总金额.
     */
    private String totalAmount;
    /**
     * 申请退款总金额.
     */
    private String totalAppliedRefundFee;
    /**
     * 账单日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date billingDate;
    /**
     * 校验正确数
     */
    private Integer correctCount;
    /**
     * 校验错误数
     */
    private Integer errorCount;
}
